package com.twohand.admin.Entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("公司经历")
@TableName(value = "resume_company",autoResultMap = true)
@Data
public class ResumeCompany extends BaseEntity{
    @ApiModelProperty(name = "公司名称")
    String name;
    @ApiModelProperty(name = "岗位名称")
    String jobName;
    @ApiModelProperty(name = "开始时间")
    String startTime;
    @ApiModelProperty(name = "结束时间")
    String endTime;
    @ApiModelProperty(name = "技能点")
    @TableField(typeHandler = JacksonTypeHandler.class)
    List<Integer> skills;
    @ApiModelProperty(name = "详情")
    @TableField(exist = false)
    List<String> skillList;
    @ApiModelProperty(name="排序权重")
    Integer weight;
}
